added unit tests
added unit tests
added unit tests & updated jade files