Passing tests for one layer with learning