tests for outputlayer
added tests for inpytlyaer
failed at threading tests. DAMN YOU SHUTDOWNNNNN