Moved stubs to test-lib folder