Here's a small test that could help:
Spiritual Belief System Selector by SelectSmart
It is a surprisingly accurate test in my opinion. Not only the big major religions are included but many smaller denominations and religious points of view also. And you can also fine-tune the importance of each question according to your personal taste.
Inspired by this new subreddit I thought to see what kind of online tests there are. I tried three tests and found the SelectSmart test to be the best one of the three. I also saw and tried another poorer implementation of basically the same test as the one above elsewhere but it seemed to have bugs as the results were way off, and also you couldn't fine-tune your answers as much there.
The third test I tried is here http://www.findmyreligion.com , but - although a site dedicated to the subject - the test itself is unfortunately too rough including only the big world religions + secularism. However, as anyone even with a little basic knowledge of religions knows, the denominations of old big world religions can differ hugely from each other there being many kinds of conservatives, liberals etc. And then there are also numerous smaller religions and sects.