Rename to conform test naming convention

Also remove unnecessary import of random module
Add implementation of database class plus tests
Add shell script for running all tests together