fixed up table test and added MYtable to the queries
major changes