make nested declaration similar to LESS

change testing framework to mocha+chai