remove unused and wrong parameter self
get rid of fieldspecstr in test
added test for record.test