added solutions and formatted tests
added reflection