Added procedure for running tests
Fixed the test, count is never available