Putting results in test measure table, catalog.php fix