Made techie adverts obey expiry time as well as date. Created functional tests which test the DB queries #130