Performance and unit tests