Added perf and accuracy tests