add sub_category tests
completed unit tests
add code climate test reporting
added base tests