fixed broken test and added tests when dnt is off
tweaked & conformed to jscs rules