port testrelative
Fix indendation
Merge pull request #11 from gsathya/testrelative

port testrelative