Updated tests to work after the db is setup
Added licence for my additions